Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch job queue counts for metrics on scraping #509

Merged
merged 1 commit into from
May 16, 2024
Merged

Conversation

prathamesh0
Copy link
Collaborator

@prathamesh0 prathamesh0 commented May 16, 2024

Part of Regenerate ajna watcher with updated subgraph config

  • The monitor-states event from PgBoss instance gets fired once on starting the server / job-runner, but doesn't get fired subsequently every monitorStateIntervalSeconds as expected (docs)
  • Fetch the metrics directly using PgBoss countStates() method on every scrape

@prathamesh0 prathamesh0 changed the title Fetch joq queue counts for metrics on scraping Fetch job queue counts for metrics on scraping May 16, 2024
@nikugogoi nikugogoi merged commit 1ca7454 into main May 16, 2024
2 checks passed
@nikugogoi nikugogoi deleted the pm-job-queue-metrics branch May 16, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants